package ran.quzitech.rnble.handler;

import com.facebook.react.bridge.WritableMap;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

/**
 * Created by ran on 2016/11/24.
 */
public class ProtocolMsg {


    private WritableMap writableMap=null;
    private int LoopCount = 0;
    private int MessageId = 0;

    @Override
    public String toString() {
        return "ProtocolMsg{" +
                "writableMap=" + writableMap +
                ", LoopCount=" + LoopCount +
                ", MessageId=" + MessageId +
                '}';
    }

    public ProtocolMsg() {
    }

    public ProtocolMsg(WritableMap writableMap, int loopCount, int messageId) {
        this.writableMap = writableMap;
        LoopCount = loopCount;
        MessageId = messageId;
    }

    public WritableMap getWritableMap() {
        return writableMap;
    }

    public void setWritableMap(WritableMap writableMap) {
        this.writableMap = writableMap;
    }

    public int getLoopCount() {
        return LoopCount;
    }

    public void setLoopCount(int loopCount) {
        LoopCount = loopCount;
    }

    public int getMessageId() {
        return MessageId;
    }

    public void setMessageId(int messageId) {
        MessageId = messageId;
    }
}
